package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class BiChannelDayExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BiChannelDayExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderDateIsNull() {
            addCriterion("order_date is null");
            return (Criteria) this;
        }

        public Criteria andOrderDateIsNotNull() {
            addCriterion("order_date is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDateEqualTo(Date value) {
            addCriterionForJDBCDate("order_date =", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("order_date <>", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateGreaterThan(Date value) {
            addCriterionForJDBCDate("order_date >", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("order_date >=", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateLessThan(Date value) {
            addCriterionForJDBCDate("order_date <", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("order_date <=", value, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateIn(List<Date> values) {
            addCriterionForJDBCDate("order_date in", values, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("order_date not in", values, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("order_date between", value1, value2, "orderDate");
            return (Criteria) this;
        }

        public Criteria andOrderDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("order_date not between", value1, value2, "orderDate");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeIsNull() {
            addCriterion("channel_source_code is null");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeIsNotNull() {
            addCriterion("channel_source_code is not null");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeEqualTo(String value) {
            addCriterion("channel_source_code =", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeNotEqualTo(String value) {
            addCriterion("channel_source_code <>", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeGreaterThan(String value) {
            addCriterion("channel_source_code >", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_source_code >=", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeLessThan(String value) {
            addCriterion("channel_source_code <", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeLessThanOrEqualTo(String value) {
            addCriterion("channel_source_code <=", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeLike(String value) {
            addCriterion("channel_source_code like", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeNotLike(String value) {
            addCriterion("channel_source_code not like", value, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeIn(List<String> values) {
            addCriterion("channel_source_code in", values, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeNotIn(List<String> values) {
            addCriterion("channel_source_code not in", values, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeBetween(String value1, String value2) {
            addCriterion("channel_source_code between", value1, value2, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelSourceCodeNotBetween(String value1, String value2) {
            addCriterion("channel_source_code not between", value1, value2, "channelSourceCode");
            return (Criteria) this;
        }

        public Criteria andChannelNameIsNull() {
            addCriterion("channel_name is null");
            return (Criteria) this;
        }

        public Criteria andChannelNameIsNotNull() {
            addCriterion("channel_name is not null");
            return (Criteria) this;
        }

        public Criteria andChannelNameEqualTo(String value) {
            addCriterion("channel_name =", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameNotEqualTo(String value) {
            addCriterion("channel_name <>", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameGreaterThan(String value) {
            addCriterion("channel_name >", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameGreaterThanOrEqualTo(String value) {
            addCriterion("channel_name >=", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameLessThan(String value) {
            addCriterion("channel_name <", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameLessThanOrEqualTo(String value) {
            addCriterion("channel_name <=", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameLike(String value) {
            addCriterion("channel_name like", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameNotLike(String value) {
            addCriterion("channel_name not like", value, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameIn(List<String> values) {
            addCriterion("channel_name in", values, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameNotIn(List<String> values) {
            addCriterion("channel_name not in", values, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameBetween(String value1, String value2) {
            addCriterion("channel_name between", value1, value2, "channelName");
            return (Criteria) this;
        }

        public Criteria andChannelNameNotBetween(String value1, String value2) {
            addCriterion("channel_name not between", value1, value2, "channelName");
            return (Criteria) this;
        }

        public Criteria andScanAmountIsNull() {
            addCriterion("scan_amount is null");
            return (Criteria) this;
        }

        public Criteria andScanAmountIsNotNull() {
            addCriterion("scan_amount is not null");
            return (Criteria) this;
        }

        public Criteria andScanAmountEqualTo(Long value) {
            addCriterion("scan_amount =", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountNotEqualTo(Long value) {
            addCriterion("scan_amount <>", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountGreaterThan(Long value) {
            addCriterion("scan_amount >", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("scan_amount >=", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountLessThan(Long value) {
            addCriterion("scan_amount <", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountLessThanOrEqualTo(Long value) {
            addCriterion("scan_amount <=", value, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountIn(List<Long> values) {
            addCriterion("scan_amount in", values, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountNotIn(List<Long> values) {
            addCriterion("scan_amount not in", values, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountBetween(Long value1, Long value2) {
            addCriterion("scan_amount between", value1, value2, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andScanAmountNotBetween(Long value1, Long value2) {
            addCriterion("scan_amount not between", value1, value2, "scanAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountIsNull() {
            addCriterion("reg_amount is null");
            return (Criteria) this;
        }

        public Criteria andRegAmountIsNotNull() {
            addCriterion("reg_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRegAmountEqualTo(Long value) {
            addCriterion("reg_amount =", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountNotEqualTo(Long value) {
            addCriterion("reg_amount <>", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountGreaterThan(Long value) {
            addCriterion("reg_amount >", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("reg_amount >=", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountLessThan(Long value) {
            addCriterion("reg_amount <", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountLessThanOrEqualTo(Long value) {
            addCriterion("reg_amount <=", value, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountIn(List<Long> values) {
            addCriterion("reg_amount in", values, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountNotIn(List<Long> values) {
            addCriterion("reg_amount not in", values, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountBetween(Long value1, Long value2) {
            addCriterion("reg_amount between", value1, value2, "regAmount");
            return (Criteria) this;
        }

        public Criteria andRegAmountNotBetween(Long value1, Long value2) {
            addCriterion("reg_amount not between", value1, value2, "regAmount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountIsNull() {
            addCriterion("total_order_count is null");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountIsNotNull() {
            addCriterion("total_order_count is not null");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountEqualTo(Long value) {
            addCriterion("total_order_count =", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountNotEqualTo(Long value) {
            addCriterion("total_order_count <>", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountGreaterThan(Long value) {
            addCriterion("total_order_count >", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountGreaterThanOrEqualTo(Long value) {
            addCriterion("total_order_count >=", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountLessThan(Long value) {
            addCriterion("total_order_count <", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountLessThanOrEqualTo(Long value) {
            addCriterion("total_order_count <=", value, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountIn(List<Long> values) {
            addCriterion("total_order_count in", values, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountNotIn(List<Long> values) {
            addCriterion("total_order_count not in", values, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountBetween(Long value1, Long value2) {
            addCriterion("total_order_count between", value1, value2, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderCountNotBetween(Long value1, Long value2) {
            addCriterion("total_order_count not between", value1, value2, "totalOrderCount");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceIsNull() {
            addCriterion("total_order_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceIsNotNull() {
            addCriterion("total_order_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceEqualTo(BigDecimal value) {
            addCriterion("total_order_price =", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceNotEqualTo(BigDecimal value) {
            addCriterion("total_order_price <>", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceGreaterThan(BigDecimal value) {
            addCriterion("total_order_price >", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_order_price >=", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceLessThan(BigDecimal value) {
            addCriterion("total_order_price <", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_order_price <=", value, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceIn(List<BigDecimal> values) {
            addCriterion("total_order_price in", values, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceNotIn(List<BigDecimal> values) {
            addCriterion("total_order_price not in", values, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_order_price between", value1, value2, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalOrderPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_order_price not between", value1, value2, "totalOrderPrice");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountIsNull() {
            addCriterion("total_user_count is null");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountIsNotNull() {
            addCriterion("total_user_count is not null");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountEqualTo(Long value) {
            addCriterion("total_user_count =", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountNotEqualTo(Long value) {
            addCriterion("total_user_count <>", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountGreaterThan(Long value) {
            addCriterion("total_user_count >", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountGreaterThanOrEqualTo(Long value) {
            addCriterion("total_user_count >=", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountLessThan(Long value) {
            addCriterion("total_user_count <", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountLessThanOrEqualTo(Long value) {
            addCriterion("total_user_count <=", value, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountIn(List<Long> values) {
            addCriterion("total_user_count in", values, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountNotIn(List<Long> values) {
            addCriterion("total_user_count not in", values, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountBetween(Long value1, Long value2) {
            addCriterion("total_user_count between", value1, value2, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andTotalUserCountNotBetween(Long value1, Long value2) {
            addCriterion("total_user_count not between", value1, value2, "totalUserCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountIsNull() {
            addCriterion("pay_order_count is null");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountIsNotNull() {
            addCriterion("pay_order_count is not null");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountEqualTo(Long value) {
            addCriterion("pay_order_count =", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountNotEqualTo(Long value) {
            addCriterion("pay_order_count <>", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountGreaterThan(Long value) {
            addCriterion("pay_order_count >", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountGreaterThanOrEqualTo(Long value) {
            addCriterion("pay_order_count >=", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountLessThan(Long value) {
            addCriterion("pay_order_count <", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountLessThanOrEqualTo(Long value) {
            addCriterion("pay_order_count <=", value, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountIn(List<Long> values) {
            addCriterion("pay_order_count in", values, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountNotIn(List<Long> values) {
            addCriterion("pay_order_count not in", values, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountBetween(Long value1, Long value2) {
            addCriterion("pay_order_count between", value1, value2, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderCountNotBetween(Long value1, Long value2) {
            addCriterion("pay_order_count not between", value1, value2, "payOrderCount");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceIsNull() {
            addCriterion("pay_order_price is null");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceIsNotNull() {
            addCriterion("pay_order_price is not null");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceEqualTo(BigDecimal value) {
            addCriterion("pay_order_price =", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceNotEqualTo(BigDecimal value) {
            addCriterion("pay_order_price <>", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceGreaterThan(BigDecimal value) {
            addCriterion("pay_order_price >", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_order_price >=", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceLessThan(BigDecimal value) {
            addCriterion("pay_order_price <", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_order_price <=", value, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceIn(List<BigDecimal> values) {
            addCriterion("pay_order_price in", values, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceNotIn(List<BigDecimal> values) {
            addCriterion("pay_order_price not in", values, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_order_price between", value1, value2, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayOrderPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_order_price not between", value1, value2, "payOrderPrice");
            return (Criteria) this;
        }

        public Criteria andPayUserCountIsNull() {
            addCriterion("pay_user_count is null");
            return (Criteria) this;
        }

        public Criteria andPayUserCountIsNotNull() {
            addCriterion("pay_user_count is not null");
            return (Criteria) this;
        }

        public Criteria andPayUserCountEqualTo(Long value) {
            addCriterion("pay_user_count =", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountNotEqualTo(Long value) {
            addCriterion("pay_user_count <>", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountGreaterThan(Long value) {
            addCriterion("pay_user_count >", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountGreaterThanOrEqualTo(Long value) {
            addCriterion("pay_user_count >=", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountLessThan(Long value) {
            addCriterion("pay_user_count <", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountLessThanOrEqualTo(Long value) {
            addCriterion("pay_user_count <=", value, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountIn(List<Long> values) {
            addCriterion("pay_user_count in", values, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountNotIn(List<Long> values) {
            addCriterion("pay_user_count not in", values, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountBetween(Long value1, Long value2) {
            addCriterion("pay_user_count between", value1, value2, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andPayUserCountNotBetween(Long value1, Long value2) {
            addCriterion("pay_user_count not between", value1, value2, "payUserCount");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}